<?php

// PHPMaker 4 configuration
// Table level constants

define("ewTblVar", "user_level", true);
define("ewTblRecPerPage", "RecPerPage", true);
define("ewSessionTblRecPerPage", "user_level_RecPerPage", true);
define("ewTblStartRec", "start", true);
define("ewSessionTblStartRec", "user_level_start", true);
define("ewTblShowMaster", "showmaster", true);
define("ewSessionTblMasterKey", "user_level_MasterKey", true);
define("ewSessionTblMasterWhere", "user_level_MasterWhere", true);
define("ewSessionTblDetailWhere", "user_level_DetailWhere", true);
define("ewSessionTblAdvSrch", "user_level_AdvSrch", true);
define("ewTblBasicSrch", "psearch", true);
define("ewSessionTblBasicSrch", "user_level_psearch", true);
define("ewTblBasicSrchType", "psearchtype", true);
define("ewSessionTblBasicSrchType", "user_level_psearchtype", true);
define("ewSessionTblSearchWhere", "user_level_SearchWhere", true);
define("ewSessionTblSort", "user_level_Sort", true);
define("ewSessionTblOrderBy", "user_level_OrderBy", true);
define("ewSessionTblKey", "user_level_Key", true);
if(isset($_GET["id"]) || $_GET["id"]<>""){
	$_SESSION['session_cms_id'] = $_GET["id"];
}
if(isset($_GET["parent_id"]) || $_GET["parent_id"]<>""){
	$_SESSION['session_cms_parent_id'] = $_GET["parent_id"];
}
if(isset($_GET["mode"]) || $_GET["mode"]<>""){
	$_SESSION["session_cms_mode"]=$_GET["mode"];
}
if(isset($_GET["title"]) || $_GET["title"]<>""){
	$_SESSION["session_cms_title"]=urldecode($_GET["title"]);
}
if(isset($_GET["module"]) || $_GET["module"]<>""){
	$_SESSION["session_cms_module"]=$_GET["module"];
}
if(isset($_GET["type"]) || $_GET["type"]<>""){
	$_SESSION["session_cms_type"]=$_GET["type"];
}
if(isset($_GET["is_category"]) || $_GET["is_category"]<>""){
	$_SESSION["session_cms_is_category"]=$_GET["is_category"];
}
if(isset($_GET["is_menu"]) || $_GET["is_menu"]<>""){
	$_SESSION["session_cms_is_menu"]=$_GET["is_menu"];
}

// Table level SQL
define("ewSqlSelect", "SELECT * FROM `user_level`", true);
define("ewSqlWhere", "", true);
define("ewSqlGroupBy", "", true);
define("ewSqlHaving", "", true);
define("ewSqlOrderBy", "", true);
define("ewSqlOrderBySessions", "", true);
define("ewSqlKeyWhere", "`id` = @id", true);
define("ewSqlUserIDFilter", "", true);
?>
